<template>
  <div class="counter">
    <h2>Counter: {{ count }}</h2>
    <button @click="count--">Increment</button>
    <button @click="count++">Decrement</button>
  </div>
</template>
<script setup lang="ts">
import { ref } from 'vue'

const count = ref(0)
</script>

<style lang="scss" scoped>
.counter {
  text-align: center;
}

button {
  margin: 5px;
  padding: 10px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}
</style>
